package com.push.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 信息管理对象 biz_article
 *
 * @author yanxi
 * @date 2022-03-10
 */
public class BizArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** dataKey */
    @Excel(name = "dataKey")
    private String dataKey;

    /** avator */
    @Excel(name = "avator")
    private String avator;

    /** 标题 */
    @Excel(name = "原始标题")
    private String titleOrg;

    /** 中文标题 */
    @Excel(name = "中文标题")
    private String titleCn;

    /** 发布机构 */
    @Excel(name = "发布机构")
    private String publisher;

    /** 原始摘要 */
    @Excel(name = "原始摘要")
    private String summaryOrg;

    /** 中文摘要 */
    @Excel(name = "摘要")
    private String summaryCn;

    /** 原始发布时间 */
    @Excel(name = "原始发布时间")
    private String publishTime;

    /** 标准发布时间 */
    @Excel(name = "标准发布时间")
    private String publishFormatTime;

    /** 原始全文 */
    @Excel(name = "原始全文")
    private String contentsOrg;

    /** 中文全文 */
    @Excel(name = "全文")
    private String contentsCn;

    /** 标签 */
    @Excel(name = "标签")
    private String labels;

    /** 原始URL */
    @Excel(name = "原始URL")
    private String url;

    /** 数据源 */
    private Long sourceId;

    /** 数据源 */
    @Excel(name = "标记")
    private String collName;

    /** 数据源 */
    @Excel(name = "数据来源")
    private String sourceTitle;

    /** 租户ID */
    private String tenantId;

    private String title;

    private BizSource bizSource;

    private String articleIds;

    private Long collectionId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDataKey(String dataKey)
    {
        this.dataKey = dataKey;
    }

    public String getDataKey()
    {
        return dataKey;
    }
    public void setAvator(String avator)
    {
        this.avator = avator;
    }

    public String getAvator()
    {
        return avator;
    }
    public void setTitleOrg(String titleOrg)
    {
        this.titleOrg = titleOrg;
    }

    public String getTitleOrg()
    {
        return titleOrg;
    }
    public void setTitleCn(String titleCn)
    {
        this.titleCn = titleCn;
    }

    public String getTitleCn()
    {
        return titleCn;
    }
    public void setPublisher(String publisher)
    {
        this.publisher = publisher;
    }

    public String getPublisher()
    {
        return publisher;
    }
    public void setSummaryOrg(String summaryOrg)
    {
        this.summaryOrg = summaryOrg;
    }

    public String getSummaryOrg()
    {
        return summaryOrg;
    }
    public void setSummaryCn(String summaryCn)
    {
        this.summaryCn = summaryCn;
    }

    public String getSummaryCn()
    {
        return summaryCn;
    }
    public void setPublishTime(String publishTime)
    {
        this.publishTime = publishTime;
    }

    public String getPublishTime()
    {
        return publishTime;
    }

    public String getPublishFormatTime() {
        return publishFormatTime;
    }

    public void setPublishFormatTime(String publishFormatTime) {
        this.publishFormatTime = publishFormatTime;
    }

    public void setContentsOrg(String contentsOrg)
    {
        this.contentsOrg = contentsOrg;
    }

    public String getContentsOrg()
    {
        return contentsOrg;
    }
    public void setContentsCn(String contentsCn)
    {
        this.contentsCn = contentsCn;
    }

    public String getContentsCn()
    {
        return contentsCn;
    }

    public void setLabels(String labels)
    {
        this.labels = labels;
    }
    public String getLabels()
    {
        return labels;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setSourceId(Long sourceId)
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId()
    {
        return sourceId;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BizSource getBizSource() {
        return bizSource;
    }

    public void setBizSource(BizSource bizSource) {
        this.bizSource = bizSource;
    }

    public String getArticleIds() {
        return articleIds;
    }

    public void setArticleIds(String articleIds) {
        this.articleIds = articleIds;
    }

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public String getCollName() {
        return collName;
    }

    public void setCollName(String collName) {
        this.collName = collName;
    }

    public String getSourceTitle() {
        return sourceTitle;
    }

    public void setSourceTitle(String sourceTitle) {
        this.sourceTitle = sourceTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dataKey", getDataKey())
            .append("avator", getAvator())
            .append("titleOrg", getTitleOrg())
            .append("titleCn", getTitleCn())
            .append("publisher", getPublisher())
            .append("summaryOrg", getSummaryOrg())
            .append("summaryCn", getSummaryCn())
            .append("publishTime", getPublishTime())
            .append("publishFormatTime", getPublishFormatTime())
            .append("contentsOrg", getContentsOrg())
            .append("contentsCn", getContentsCn())
            .append("labels", getLabels())
            .append("url", getUrl())
            .append("sourceId", getSourceId())
            .append("createTime", getCreateTime())
            .append("tenantId", getTenantId())
            .toString();
    }
}
